import { Navigate } from 'react-router-dom';
import { Home } from '../compnents/home';
import { Product } from'../compnents/product'
import  Factory  from'../compnents/factory'
import  {Contact}  from'../compnents/contact'
import  {About}  from'../compnents/about'
import React from 'react';
export default  [
  {
    path: "/home",
    element: <Home/> ,
  },
  {
    path: "/product",
    element: <Product/> ,
  },
  {
    path: "/factory",
    element: <Factory/> ,
  },
  {
    path: "/contact",
    element: <Contact/> ,
  },
  {
    path: "/about",
    element: <About/> ,
  },
  {
    path: '/',
    element: <Navigate to='/home' />
  },
  
];
